package com.java.onlineshop.service;

import com.java.onlineshop.pojo.Country;
import com.java.onlineshop.pojo.Province;
import com.java.onlineshop.pojo.User;
import com.java.onlineshop.pojo.Userinfo;

import java.sql.SQLException;
import java.util.List;

public interface IUserService
{
    List<Country> findAllCountry();//获取所有国家

    List<Province> findAllProvince();//获取所有省份

    void userRegister(User user);

    User userLogin(String name,String password);

    void updateUser(User user) throws SQLException;
}
